package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-15 17:50:05
 */
@Data
@TableName("field_insect")
public class FieldInsect {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("危害程度")
    private Integer degreeId;

    @ApiModelProperty("危害程度名称")
    private String degreeName;

    @ApiModelProperty("农药使用-生产厂家")
    private String drugFactory;

    @ApiModelProperty("农药使用-登记号")
    private String drugCode;

    @ApiModelProperty("农药使用-id")
    private Integer drug;

    @ApiModelProperty("农药使用-名称")
    private String drugName;

    @ApiModelProperty("农药使用-用量")
    private BigDecimal drugNum;

    @ApiModelProperty("田间活动id")
    private Integer fieldId;

    @ApiModelProperty("危害部位")
    private Integer harmPart;

    @ApiModelProperty("危害部位名称")
    private String harmPartName;

    @ApiModelProperty("病虫害种类")
    private Integer kind;

    @ApiModelProperty("病虫害种类名称")
    private String kindName;

    @ApiModelProperty("发生时间")
    private Date startTime;

    @ApiModelProperty("使用时间")
    private Date useTime;

    @ApiModelProperty("防止方式-备注")
    private String wayDetail;

    @ApiModelProperty("防止方式")
    private Integer wayId;

    @ApiModelProperty("防止方式名称")
    private String wayName;

}